﻿<metro:MetroWindow
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:metro="http://metro.mahapps.com/winfx/xaml/controls"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:iCoreComponent="clr-namespace:intelliEssay.Core.Platform;assembly=intelliEssayCore"
        xmlns:Custom="http://metro.mahapps.com/winfx/xaml/shared" xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions" xmlns:System="clr-namespace:System;assembly=mscorlib" mc:Ignorable="d" x:Class="intelliEssay.Graphics.Shell.MainWindow"
        TitleForeground="White"  Title="intelliEssay™ Graphics Shell" Height="700" Width="1300" WindowStartupLocation="CenterScreen"
        ShowTitleBar="True"
        ShowIconOnTitleBar="True">
    <metro:MetroWindow.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colours.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.AnimatedSingleRowTabControl.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/Red.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseLight.xaml" />
            </ResourceDictionary.MergedDictionaries>
            <Style x:Key="ShineTextBlock" TargetType="{x:Type TextBlock}">
                <Setter Property="Foreground" Value="DarkGray"/>
                <Style.Triggers>
                    <Trigger Property="IsMouseDirectlyOver" Value="True">
                        <Setter Property="Foreground" Value="{DynamicResource BlackBrush}"/>
                    </Trigger>
                </Style.Triggers>
            </Style>
            <Style x:Key="ShineTextBlockReverse" TargetType="{x:Type TextBlock}">
                <Style.Resources>
                    <Storyboard x:Key="Storyboard1">
                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="{x:Null}">
                            <EasingColorKeyFrame KeyTime="0" Value="Black"/>
                        </ColorAnimationUsingKeyFrames>
                    </Storyboard>
                    <Storyboard x:Key="Storyboard2">
                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="{x:Null}">
                            <EasingColorKeyFrame KeyTime="0" Value="DarkGray"/>
                        </ColorAnimationUsingKeyFrames>
                    </Storyboard>
                </Style.Resources>
                <Setter Property="Foreground" Value="DarkGray"/>
                <Style.Triggers>
                    <Trigger Property="IsMouseDirectlyOver" Value="True">
                        <Trigger.ExitActions>
                            <BeginStoryboard x:Name="Storyboard2_BeginStoryboard" Storyboard="{StaticResource Storyboard2}"/>
                        </Trigger.ExitActions>
                        <Trigger.EnterActions>
                            <BeginStoryboard Storyboard="{StaticResource Storyboard1}"/>
                        </Trigger.EnterActions>
                    </Trigger>
                </Style.Triggers>
            </Style>
            <Storyboard x:Key="SuperBusy" RepeatBehavior="Forever">
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="operatorGrid">
                	<EasingDoubleKeyFrame KeyTime="0" Value="0">
                		<EasingDoubleKeyFrame.EasingFunction>
                			<CircleEase EasingMode="EaseIn"/>
                		</EasingDoubleKeyFrame.EasingFunction>
                	</EasingDoubleKeyFrame>
                </DoubleAnimationUsingKeyFrames>
                <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" Storyboard.TargetName="animationGrid">
                    <EasingColorKeyFrame KeyTime="0" Value="#CCD60000"/>
                    <EasingColorKeyFrame KeyTime="0:0:3.439" Value="#CCFF005D"/>
                    <EasingColorKeyFrame KeyTime="0:0:7.485" Value="#FFFF00AF"/>
                    <EasingColorKeyFrame KeyTime="0:0:11.531" Value="#FFFF7500"/>
                    <EasingColorKeyFrame KeyTime="0:0:15.577" Value="#FF938000"/>
                    <EasingColorKeyFrame KeyTime="0:0:17.2" Value="sc#1, 0.162029371, 0.2158605, 0.000303527"/>
                    <EasingColorKeyFrame KeyTime="0:0:19.624" Value="#FF2D9300"/>
                    <EasingColorKeyFrame KeyTime="0:0:23.67" Value="#FF0040DC"/>
                    <EasingColorKeyFrame KeyTime="0:0:27.716" Value="#FF009497"/>
                    <EasingColorKeyFrame KeyTime="0:0:31.762" Value="#FF730097"/>
                    <EasingColorKeyFrame KeyTime="0:0:35.808" Value="#FF970068"/>
                    <EasingColorKeyFrame KeyTime="0:0:39.854" Value="#FFC20050"/>
                    <EasingColorKeyFrame KeyTime="0:0:41" Value="#CCD60000"/>
                </ColorAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="animationGrid">
                	<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Style TargetType="{x:Type TextBlock}" x:Key="defaultTextBlock">
                <Setter Property="Foreground" Value="{DynamicResource BlackColorBrush}"/>
            </Style>
            <DataTemplate x:Key="unselected">
                <StackPanel Orientation="Vertical" Margin="0,10,0,0" Width="431">
                    <Grid Height="28" Width="431">
                        <TextBlock Text="{Binding Name}" FontSize="20" Width="431">
                            <TextBlock.Foreground>
                                <SolidColorBrush Color="{DynamicResource BlackColor}"/>
                            </TextBlock.Foreground>
                        </TextBlock>
                    </Grid>
                    <TextBlock Text="{Binding CheckerDescription}" Foreground="DarkGray" FontSize="20"/>
                </StackPanel>
            </DataTemplate>
            <DataTemplate x:Key="selected">
                <StackPanel Orientation="Vertical" Margin="0,10,0,0" Width="431">
                    <Grid Height="28">
                        <TextBlock Text="{Binding Name}" FontSize="20" Foreground="White"/>
                        <Path Fill="White" Data="F1 M 15,21L 22,28L 32.9999,14.0001L 35.9999,17.0001L 22,34L 12.0001,24L 15,21 Z " HorizontalAlignment="Left" VerticalAlignment="Top" Height="18" Margin="400,5,0,5" Stretch="Fill" Width="18" />
                    </Grid>
                    <TextBlock Text="{Binding CheckerDescription}"  FontSize="20" Foreground="White"/>
                </StackPanel>
            </DataTemplate>
            <Style x:Key="ListBoxItemStyle1" TargetType="{x:Type ListBoxItem}">
                <Setter Property="ContentTemplate" Value="{StaticResource unselected}"/>
                <Setter Property="RenderTransformOrigin" Value="0.5,0.5"/>
                <Setter Property="FocusVisualStyle" Value="{x:Null}" />
                <Setter Property="Margin" Value="5"/>
                <Setter Property="Template">
                    <Setter.Value>
                        <ControlTemplate TargetType="{x:Type ListBoxItem}">
                            <ControlTemplate.Resources>
                                <Storyboard x:Key="OnMouseLeftButtonDown1">
                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="Border">
                                        <EasingDoubleKeyFrame KeyTime="0" Value="0.9"/>
                                        <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="1">
                                            <EasingDoubleKeyFrame.EasingFunction>
                                                <CircleEase EasingMode="EaseOut"/>
                                            </EasingDoubleKeyFrame.EasingFunction>
                                        </EasingDoubleKeyFrame>
                                    </DoubleAnimationUsingKeyFrames>
                                </Storyboard>
                            </ControlTemplate.Resources>
                            <Grid x:Name="Border" Height="67.2" SnapsToDevicePixels="true" Width="431" RenderTransformOrigin="0.5,0.5">
                                <Grid.RenderTransform>
                                    <TransformGroup>
                                        <ScaleTransform/>
                                        <SkewTransform/>
                                        <RotateTransform/>
                                        <TranslateTransform/>
                                    </TransformGroup>
                                </Grid.RenderTransform>
                                <Rectangle x:Name="bgRectangle" Margin="0" Stroke="{x:Null}" StrokeThickness="0"/>
                                <ContentPresenter Margin="2" Width="431"/>
                            </Grid>
                            <ControlTemplate.Triggers>
                                <EventTrigger RoutedEvent="UIElement.MouseRightButtonUp">
                                    <BeginStoryboard Storyboard="{StaticResource OnMouseLeftButtonDown1}"/>
                                </EventTrigger>
                                <Trigger Property="Selector.IsSelected" Value="True">
                                    <Setter Property="Fill" TargetName="bgRectangle" Value="{DynamicResource AccentColorBrush}"/>
                                </Trigger>
                                <MultiTrigger>
                                    <MultiTrigger.Conditions>
                                        <Condition Property="IsMouseOver" Value="True"/>
                                        <Condition Property="Selector.IsSelected" Value="False"/>
                                    </MultiTrigger.Conditions>
                                    <Setter
                        		Property="Fill" TargetName="bgRectangle" Value="{DynamicResource AccentColorBrush}"/>
                                    <Setter
                        		Property="Opacity" TargetName="bgRectangle" Value="0.3"/>
                                </MultiTrigger>
                                <EventTrigger RoutedEvent="UIElement.MouseLeftButtonUp">
                                    <BeginStoryboard Storyboard="{StaticResource OnMouseLeftButtonDown1}"/>
                                </EventTrigger>
                            </ControlTemplate.Triggers>
                        </ControlTemplate>
                    </Setter.Value>
                </Setter>
                <Style.Triggers>
                    <Trigger Property="IsSelected" Value="True">
                        <Setter Property="ContentTemplate" Value="{StaticResource selected}"/>
                    </Trigger>
                </Style.Triggers>
            </Style>
            <Storyboard x:Key="TransistAway">
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="transistGrid">
                    <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="transistGrid">
                    <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="-115">
                        <EasingDoubleKeyFrame.EasingFunction>
                            <CircleEase EasingMode="EaseIn"/>
                        </EasingDoubleKeyFrame.EasingFunction>
                    </EasingDoubleKeyFrame>
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Key="TransistIn">
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="transistGrid">
                    <EasingDoubleKeyFrame KeyTime="0" Value="115"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0">
                        <EasingDoubleKeyFrame.EasingFunction>
                            <CubicEase EasingMode="EaseOut"/>
                        </EasingDoubleKeyFrame.EasingFunction>
                    </EasingDoubleKeyFrame>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="transistGrid">
                    <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="1"/>
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <iCoreComponent:ComponentCollection x:Key="designTime">
                <iCoreComponent:CheckerComponent Name="对齐检查器" CheckerDescription="检查段落的对齐情况"/>
                <iCoreComponent:CheckerComponent Name="纸张检查器" CheckerDescription="检查纸张的设置情况"/>
                <iCoreComponent:CheckerComponent Name="字体检查器" CheckerDescription="检查字体的设置情况"/>
            </iCoreComponent:ComponentCollection>
        </ResourceDictionary>
    </metro:MetroWindow.Resources>
    <metro:MetroWindow.Flyouts>
        <metro:Flyout  x:Name="FlyoutRight" Header="外观" Foreground="{DynamicResource WhiteBrush}" Background="{DynamicResource BlackBrush}" Position="Right">
            <StackPanel>
                <metro:Tile  x:Name="FlavorTile" Title="改变口味" Count="5" Click="Tile_Click_1">
                    <Path Width="48" Height="50" Stretch="Fill" Fill="White" Data="F1 M 32,14C 33.1046,14 34,14.8954 34,16C 34,16.3643 33.9026,16.7058 33.7324,17L 34,17C 35.1046,17 36,17.8954 36,19C 36,20.1046 35.1046,21 34,21L 35,21C 36.1046,21 37,21.8954 37,23C 37,24.1046 36.1046,25 35,25L 15,25C 13.8954,25 13,24.1046 13,23C 13,21.8954 13.8954,21 15,21L 16,21C 14.8954,21 14,20.1046 14,19C 14,17.8954 14.8954,17 16,17L 16.2676,17C 16.0974,16.7058 16,16.3643 16,16C 16,14.8954 16.8954,14 18,14C 19,14 21,12 25,11C 29,14 31,14 32,14 Z M 15,26L 35,26L 32,36L 18,36L 15,26 Z " />
                </metro:Tile>
                <metro:Tile x:Name="ThemeReverseTile" Title="翻转主题" Count="2" Click="Tile_Click_2">
                    <Path Width="48" Height="50"  Stretch="Fill" Fill="White" Data="F1 M 39.1115,25.9086L 33.4741,27.2029C 33.8974,25.9546 34.0773,24.6144 33.9741,23.254L 39.1115,25.9086 Z M 33.3358,36.0351L 28.4353,32.9645C 29.6607,32.36 30.7222,31.5228 31.58,30.5243L 33.3358,36.0351 Z M 22.0913,39.1115L 20.7971,33.4742C 22.0454,33.8974 23.3856,34.0773 24.746,33.9741L 22.0913,39.1115 Z M 11.9649,33.3358L 15.0355,28.4353C 15.64,29.6608 16.4772,30.7222 17.4757,31.58L 11.9649,33.3358 Z M 8.88851,22.0914L 14.5259,20.7971C 14.1026,22.0454 13.9227,23.3856 14.0259,24.7461L 8.88851,22.0914 Z M 14.6642,11.965L 19.5647,15.0355C 18.3392,15.64 17.2778,16.4772 16.42,17.4757L 14.6642,11.965 Z M 25.9086,8.88852L 27.2029,14.5259C 25.9546,14.1026 24.6144,13.9227 23.254,14.0259L 25.9086,8.88852 Z M 36.035,14.6642L 32.9645,19.5647C 32.36,18.3393 31.5228,17.2778 30.5243,16.42L 36.035,14.6642 Z M 24,16C 28.4183,16 32,19.5817 32,24C 32,28.4183 28.4183,32 24,32C 19.5817,32 16,28.4183 16,24C 16,19.5817 19.5817,16 24,16 Z " />
                </metro:Tile>
                <Grid Width="150">
                    <Label Foreground="{DynamicResource WhiteBrush}" x:Name="LanguageLabel"/>
                    <ComboBox SelectionChanged="LanguageBox_SelectionChanged_1" Width="80" HorizontalAlignment="Right" x:Name="LanguageBox" Foreground="{DynamicResource BlackBrush}"/>
                </Grid>
                <TextBlock TextWrapping="Wrap" Width="150" x:Name="TakeAffectNextTimeTextBlock" Foreground="LightGray"/>
            </StackPanel>
        </metro:Flyout>
    </metro:MetroWindow.Flyouts>
    <metro:MetroContentControl BorderThickness="1" BorderBrush="Red">

        <Grid x:Name="MainGrid" Margin="0" Drop="Grid_Drop_1" DragOver="Grid_DragOver_1" DragLeave="Grid_DragLeave_1">
            <Grid x:Name="operatorGrid" Margin="150,97,150,26.5">

                <Grid x:Name="bannerBack" Background="{StaticResource AccentColorBrush}" Margin="0,0,0,80.5" HorizontalAlignment="Left" Width="431">
                    <TextBlock x:Name="bannerInfo" Margin="32,297.5,23,0" TextWrapping="Wrap" FontSize="26.667" Height="96" VerticalAlignment="Top"><TextBlock.Foreground>
                            <SolidColorBrush Color="{StaticResource WhiteColor}"/>
                        </TextBlock.Foreground><Run x:Name="bannerSummary" FontSize="24" Text="intelliSys提供的文档格式检查服务"/><LineBreak/><Run x:Name="bannerDetail" FontSize="12" Language="zh-cn" Text="通过检查文档中OpenXml节点结构，我们可以向您反馈文档中存在的格式问题。工作在所有支持OpenXml的文档之上。访问开发网站了解更多。"/></TextBlock>
                    <Grid Margin="102.762,27,0,0" HorizontalAlignment="Left" Width="213.738" Height="238.833" VerticalAlignment="Top">
                        <Image Margin="18.238,0,15.5,58.833" Source="wordlogo.png" Stretch="Fill"/>
                        <Grid Margin="0,124.464,0,0" Height="114.369" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5">
                            <Grid.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform ScaleX="0.5" ScaleY="0.5"/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </Grid.RenderTransform>
                            <Path Data="M43.998338,0.5 L55.684999,8.2085686 19.630446,62.86948 85.238241,62.86948 85.238241,76.869481 6.238241,76.869481 6.238241,70.231117 0.5,66.446151 z" Margin="0,37,0,0" RenderTransformOrigin="0.533463718585379,0.903062540315259" Stretch="Fill" Height="77.369" VerticalAlignment="Top" HorizontalAlignment="Left" Width="85.738">
                                <Path.Fill>
                                    <SolidColorBrush Color="{StaticResource WhiteColor}"/>
                                </Path.Fill>
                                <Path.RenderTransform>
                                    <TransformGroup>
                                        <ScaleTransform/>
                                        <SkewTransform/>
                                        <RotateTransform Angle="30.275"/>
                                        <TranslateTransform/>
                                    </TransformGroup>
                                </Path.RenderTransform>
                            </Path>
                            <Rectangle Margin="48.238,81.369,0,0" RenderTransformOrigin="0.5,0.5" Height="15" VerticalAlignment="Top" HorizontalAlignment="Left" Width="120">
                                <Rectangle.Fill>
                                    <SolidColorBrush Color="{StaticResource WhiteColor}"/>
                                </Rectangle.Fill>
                                <Rectangle.RenderTransform>
                                    <TransformGroup>
                                        <ScaleTransform/>
                                        <SkewTransform/>
                                        <RotateTransform Angle="-70.237"/>
                                        <TranslateTransform/>
                                    </TransformGroup>
                                </Rectangle.RenderTransform>
                            </Rectangle>
                            <Path Data="M43.998338,0.5 L55.684999,8.2085686 19.630446,62.86948 85.238241,62.86948 85.238241,76.869481 6.238241,76.869481 6.238241,70.231117 0.5,66.446151 z"  HorizontalAlignment="Left" Margin="128,0,0,37" RenderTransformOrigin="0.533463718585379,0.903062540315259" Stretch="Fill"  Width="85.738" >
                                <Path.Fill>
                                    <SolidColorBrush Color="{StaticResource WhiteColor}"/>
                                </Path.Fill>
                                <Path.RenderTransform>
                                    <TransformGroup>
                                        <ScaleTransform/>
                                        <SkewTransform/>
                                        <RotateTransform Angle="-150"/>
                                        <TranslateTransform/>
                                    </TransformGroup>
                                </Path.RenderTransform>
                            </Path>
                        </Grid>
                    </Grid>
                    <Button x:Name="visitSite" Foreground="{StaticResource AccentColorBrush}" Content="访问网站" Margin="33.262,396.5,0,0" VerticalAlignment="Top" BorderThickness="0" FontSize="18.667" FontFamily="/intelliEssayGraphicsShell;component/Fonts/#Segoe UI" FontWeight="Normal" HorizontalAlignment="Left" Width="Auto" Height="36" Style="{DynamicResource AccentButton}">
                        <Button.Background>
                            <SolidColorBrush Color="{StaticResource WhiteColor}"/>
                        </Button.Background>
                        <Button.BorderBrush>
                            <SolidColorBrush Color="{StaticResource BlackColor}"/>
                        </Button.BorderBrush>
                    </Button>
                </Grid>
                <ListBox ScrollViewer.HorizontalScrollBarVisibility="Hidden"  SelectionMode="Multiple" x:Name="CheckerSelector" Margin="0,0,0,80.5" HorizontalAlignment="Left" Width="431" Background="#FFC2C2C2" Visibility="Collapsed" ItemContainerStyle="{DynamicResource ListBoxItemStyle1}">
                    <ListBox.ItemsSource>
                        <StaticResource ResourceKey="designTime"/>
                    </ListBox.ItemsSource>
                </ListBox>
                <Button x:Name="GoUp"  Click="GoUp_Click_1" Content="上一步" HorizontalAlignment="Right" Margin="0,0,88,0" VerticalAlignment="Bottom" FontSize="18.667" FontWeight="Normal" Style="{DynamicResource AccentButton}" BorderBrush="Black" Width="Auto" Height="36" Visibility="Collapsed">
                    <Button.Background>
                        <SolidColorBrush Color="{StaticResource WhiteColor}"/>
                    </Button.Background>
                    <Button.Foreground>
                        <SolidColorBrush Color="{StaticResource BlackColor}"/>
                    </Button.Foreground>
                </Button>
                <TextBlock Foreground="{DynamicResource AccentColorBrush}" x:Name="AccentColorGuide" Height="54" Margin="0,0,1.463,0" TextWrapping="Wrap" Text="欢迎" VerticalAlignment="Top" FontSize="32" HorizontalAlignment="Right" Width="398" d:IsHidden="True"/>
                <Grid x:Name="viewResult" Margin="0">
                	<TabControl x:Name="results" BorderThickness="0" BorderBrush="{x:Null}" Background="{x:Null}" Margin="0,0,0,40"/>
                </Grid>
                <Grid x:Name="transistGrid" HorizontalAlignment="Right" Margin="0,-2,0,80.5" Width="398.537" RenderTransformOrigin="0.5,0.5">
                    <Grid.RenderTransform>
                        <TransformGroup>
                        	<ScaleTransform/>
                        	<SkewTransform/>
                        	<RotateTransform/>
                        	<TranslateTransform/>
                        </TransformGroup>
                    </Grid.RenderTransform>
                	<ScrollViewer HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Auto">
                		<TextBlock TextWrapping="Wrap" FontSize="26.667" Height="Auto" MaxWidth="400" VerticalAlignment="Top" Margin="0,84,0,0" d:LayoutOverrides="Width" Foreground="#FF6A6A6A"><Run x:Name="Summary1" FontSize="20" Language="zh-cn" Text="1.拖拽文档"/><LineBreak/><Run FontSize="12" x:Name="detail1" Language="zh-cn" Text="现在，您可以拖拽您的文档到这里以便开始检查。您的文档可以但不限于来自以下文字处理软件：支持OpenXml的Microsoft Office 2013, 2010, 2007或2003（注意：若您的文档由Office 2003或更早格式转化而来，intelliEssay可能无法发现所有的格式错误。通常的解决方案是将它们复制到支持以上格式的程序中保存）, OpenOffice OpenXml, WPS Office OpenXml. 您可以拖拽文件直接到这里，当看到放置图标时，这表明程序已经记录您的文档位置。在检查期间，请勿改动文档，以免修改无法同步到intelliEssay。"/><LineBreak/><LineBreak/><Run FontSize="20" x:Name="Summary2" Language="zh-cn" Text="2.选择检查内容和设置检查参数"/><LineBreak/><Run FontSize="12" Language="zh-cn" x:Name="detail2" Text="在下一步，您将会被要求选择需要检查的内容。intelliEssay允许您自定义需要检查的文档部分。这些部分包括但不限于：字体、字号、颜色、对齐、参考文献等。依照您的选择，检查需要不同的时间。"/><LineBreak/><LineBreak/><Run x:Name="summary3" FontSize="20" Language="zh-cn" Text="3.查看报告"/><LineBreak/><Run x:Name="detail3" FontSize="12" Language="zh-cn" Text="最后，intelliEssay将向您呈现所有的检查结果。您可以依据实际情况进行取舍。"/></TextBlock>
                	</ScrollViewer>
                </Grid>
                <Grid x:Name="standardFormat" HorizontalAlignment="Left" Width="431" Margin="0,0,0,80.5" Visibility="Collapsed">
                	<TextBlock x:Name="standardFormatInUseBanner" Foreground="{DynamicResource BlackBrush}" TextWrapping="Wrap" FontSize="32" HorizontalAlignment="Left" VerticalAlignment="Top"><Run Language="zh-cn" Text="正在使用的标准格式文件"/></TextBlock>
                	<TextBlock Foreground="{DynamicResource BlackBrush}" x:Name="standardFormatPath" TextWrapping="Wrap" FontSize="12" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,46.563,0,0" Text="c:\windows\system32\standardFormats\v2.0.0.139\intelliSys\intelliEssay\NKU\NKUBachelor\StandardFormats\StandardFormat1.docx"/>
                	<Button Click="validateOrPickStandardFile_Click_1" x:Name="validateOrPickStandardFile" Foreground="{DynamicResource BlackBrush}" Content="重新选择" HorizontalAlignment="Left" Height="36" Margin="0,115.665,0,0" VerticalAlignment="Top" Width="Auto" FontSize="18.667" FontWeight="Normal" BorderBrush="Black" Style="{DynamicResource AccentButton}" Background="{x:Null}"/>
                	<TextBlock Foreground="{DynamicResource AccentColorBrush}" x:Name="errMsg" Height="22" Margin="0,91.665,0,0" TextWrapping="Wrap" Text="您需要验证文件。" VerticalAlignment="Top"/>
                	<metro:MetroProgressBar x:Name="fileValidation" Foreground="{DynamicResource AccentColorBrush}" Visibility="Collapsed" Height="11" Margin="0,44,0,0" VerticalAlignment="Top" IsIndeterminate="True"/>
                	<TextBlock x:Name="otherSettings" Foreground="#FF6A6A6A" TextWrapping="Wrap" FontSize="32" HorizontalAlignment="Left" Margin="0,178.832,0,0" Text="其他设置" VerticalAlignment="Top" IsEnabled="False"/>
                	<TextBlock x:Name="HostType" Foreground="#FF6A6A6A" TextWrapping="Wrap" HorizontalAlignment="Left" Margin="0,0,0,211.104" Text="宿主程序" FontSize="18.667" IsEnabled="False" VerticalAlignment="Bottom"/>
                	<TextBlock x:Name="threshHold" Foreground="#FF6A6A6A" TextWrapping="Wrap" HorizontalAlignment="Left" Margin="0,0,0,127.274" Text="检查阈值" VerticalAlignment="Bottom" FontSize="18.667" IsEnabled="False"/>
                	<TextBlock x:Name="paperWidth" Foreground="#FF6A6A6A" TextWrapping="Wrap" HorizontalAlignment="Left" Margin="0,0,0,46.804" Text="纸张宽度" VerticalAlignment="Bottom" FontSize="18.667" IsEnabled="False"/>
                	<ComboBox Height="36" Margin="0,0,0,171.104" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="203" SelectedIndex="0" IsEnabled="False" Foreground="#FF6A6A6A">
                		<System:String>Microsoft Office 2010</System:String>
                	</ComboBox>
                	<TextBox x:Name="threshHoldValue" HorizontalAlignment="Left" Height="36" Margin="0,0,0,87.274" TextWrapping="Wrap" Text="0" VerticalAlignment="Bottom" Width="203" IsEnabled="False" Foreground="#FF6A6A6A"/>
                	<TextBox x:Name="paperWidthValue" HorizontalAlignment="Left" Height="36" Margin="0,0,0,6.804" TextWrapping="Wrap" Text="A4" VerticalAlignment="Bottom" Width="203" IsEnabled="False" Foreground="#FF6A6A6A"/>
                </Grid>
            </Grid>
            <Grid IsHitTestVisible="False" x:Name="animationGrid" Margin="0" Background="#CCFF0000" Opacity="0">
                <metro:ProgressRing IsActive="True" HorizontalAlignment="Center" Margin="0" VerticalAlignment="Center" Width="50" Height="50" RenderTransformOrigin="0.5,0.5" IsLarge="False">
                    <metro:ProgressRing.Foreground>
                        <SolidColorBrush Color="{StaticResource WhiteColor}"/>
                    </metro:ProgressRing.Foreground>
                </metro:ProgressRing>
                <metro:TransitioningContentControl Transition="UpTransition" x:Name="transitioning" Content="100%" Margin="0,0,0,216.96" FontSize="48" d:LayoutOverrides="Width" FontFamily="/intelliEssayGraphicsShell;component/Fonts/#Segoe UI Light" VerticalAlignment="Bottom" HorizontalAlignment="Center">
                    <metro:TransitioningContentControl.Foreground>
                        <SolidColorBrush Color="{StaticResource WhiteColor}"/>
                    </metro:TransitioningContentControl.Foreground>
                </metro:TransitioningContentControl>
                <metro:TransitioningContentControl Transition="UpTransition" x:Name="transitioning_Doc" Content="TransitioningContentControl" Margin="0,0,0,199.226" VerticalAlignment="Bottom" FontSize="13.333" d:LayoutOverrides="Width" HorizontalAlignment="Center">
                	<metro:TransitioningContentControl.Foreground>
                		<SolidColorBrush Color="{StaticResource WhiteColor}"/>
                	</metro:TransitioningContentControl.Foreground>
                </metro:TransitioningContentControl>
                <Grid x:Name="aminmationDebuggerAttachedWarning" Height="90" Margin="0,0,0,83.75" VerticalAlignment="Bottom" HorizontalAlignment="Center" Visibility="Collapsed">
                	<TextBlock TextWrapping="Wrap" HorizontalAlignment="Center" Foreground="White" FontFamily="/intelliEssayGraphicsShell;component/Fonts/#Segoe UI Light" FontSize="21.333" TextAlignment="Center" Text="WARNING: DEBUGGING WITH DEBUGGER ATTACHED MAY REQUIRE EXCESSIVELY LONG TIME." VerticalAlignment="Top"/>
                	<TextBlock TextWrapping="Wrap" HorizontalAlignment="Center" Foreground="White" FontFamily="/intelliEssayGraphicsShell;component/Fonts/#Segoe UI Light" FontSize="21.333" TextAlignment="Center" Margin="0,32.373,0,29.253" d:LayoutOverrides="Height"><Run Language="zh-cn" Text="警告：调试器已经连接。在调试时连接调试器可能需要极长时间。"/></TextBlock>
                </Grid>
            </Grid>
            <Button x:Name="GoDown" Click="GoDown_Click_1" Background="{StaticResource AccentColorBrush}" Content="下一步" HorizontalAlignment="Right" VerticalAlignment="Bottom" FontSize="18.667" FontWeight="Normal" Style="{DynamicResource AccentButton}" BorderBrush="Black" Width="84" Height="36" Margin="0,0,150,27.5" Foreground="White"/>
            <TextBlock x:Name="setting" PreviewMouseLeftButtonDown="TextBlock_PreviewMouseLeftButtonDown_1" HorizontalAlignment="Right" Height="18.5" Margin="0,8,8,0" TextWrapping="Wrap" Text="设置" VerticalAlignment="Top" Style="{DynamicResource ShineTextBlock}"/>

        </Grid>
    </metro:MetroContentControl>
</metro:MetroWindow>
